import type { ColumnType } from 'ant-design-vue/lib/table'

export const tableColumns: ColumnType[] = [
  {
    title: '序号',
    key: 'index',
    customRender: ({ index }) => index + 1
  },
  { title: '产品名称', dataIndex: 'productName', align: 'center' },
  { title: '产品规格', dataIndex: 'productSpecification', align: 'center' },
  { title: '包装规格', dataIndex: 'productPacking', align: 'center' },
  { title: '产品保质期', dataIndex: 'productShelfLife', align: 'center' },
  { title: '产品条码', dataIndex: 'productUniqueCode', align: 'center' },
  { title: '到货数量', dataIndex: 'arrivalNumber', align: 'center' },
  { title: '备注', dataIndex: 'remark', align: 'center' },
  { title: '操作', key: 'action', align: 'center' }
]
